package com.ruoyi.web.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.web.domain.BhPlansBill;
import com.ruoyi.web.domain.vo.BhPlansPageVO;
import com.ruoyi.web.domain.vo.DangerStatisticsVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BhPlansBillMapper extends BaseMapperPlus<BhPlansBillMapper, BhPlansBill, BhPlansPageVO> {
    int deleteByPrimaryKey(Integer id);

    BhPlansBill selectByPrimaryKey(Integer id);

    /**
     * 获取首页 - 隐患统计
     *
     * @return 隐患统计
     */

    List<DangerStatisticsVO> getDangerStatistics();
}
